package com.campus.config;


import com.baomidou.mybatisplus.core.injector.DefaultSqlInjector;
import com.baomidou.mybatisplus.core.injector.ISqlInjector;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * MyBatis相关配置
 */
@Configuration
public class MyBatisPlusConfig {

    @Bean
    public ISqlInjector sqlInjector(){
        return new DefaultSqlInjector();
    }
}
